package com.bamatea.reportfrom.service;

import com.bamatea.reportfrom.dao.IcRecordsignWcMapper;
import com.bamatea.reportfrom.domain.IcRecordsignWc;
import com.bamatea.reportfrom.domain.IcRecordsignWcExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Auther: libingbing
 * @Date: 2020-04-27 14 :29
 * @Description:
 */
@Service
public class icRecordsignWcService {
    @Resource
    private IcRecordsignWcMapper icRecordsignWcMapper;

    public IcRecordsignWc findByinvcode(String code){
        IcRecordsignWcExample example =new IcRecordsignWcExample();
        example.or().andInvcodeEqualTo(code);
        return icRecordsignWcMapper.selectOneByExampleSelective(example, IcRecordsignWc.Column.ninnum, IcRecordsignWc.Column.noutnum);
    }

}
